package com.bingo.users.action;

import ibatis.Users;

import java.util.HashMap;
import java.util.Map;

import com.opensymphony.xwork2.ActionSupport;


public class FreeMarkerTest extends ActionSupport
{
	Map context = new HashMap<String, Users>();

	public Map getContext()
	{
		return context;
	}

	public void setContext(Map context)
	{
		this.context = context;
	}

	@Override
	public String execute() throws Exception
	{
		Users u = new Users();
		u.setUid(1);
		u.setUsername("luanmad!");
		u.setUseremail("luanmad2009@gmail.com");
		u.setUserage(12);
		u.setUserpassword("123456");
		context.put("users", u);
		return SUCCESS;
	}
}
